package com.sc.dal.mapper.member;

import java.util.List;
import com.sc.dal.dto.member.MemberCardDto;
import com.sc.dal.model.member.MemberCard;

public interface MemberCardMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MemberCard record);

    int insertSelective(MemberCard record);

    MemberCard selectByPrimaryKey(Integer id);
    
    MemberCard selectByCardNumber(String cardNumber);

    int updateByPrimaryKeySelective(MemberCard record);

    int updateByPrimaryKey(MemberCard record);
    
    List<MemberCard> selectByParam(String memberId);

	List<MemberCard> selectByParam(MemberCard card);

	int count(MemberCard card);
	
	List<MemberCardDto> memberBankInstList(String memberId);

	List<MemberCardDto> memberBankCardList(MemberCardDto cartDto );
}